<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<title>我的小孩-云校通-家长</title>
<jsp:include page="/WEB-INF/page/common/_header.jsp"></jsp:include>
<body ontouchstart id="xzbj">
	<div class="xzbjWrap" style="padding: 100px 0;">
		<div class="xzbj-list mt0">
			<ul>
				<c:forEach var="itm" items="${list }">
					<a href="<%=basePath %>/xs?sid=${itm.id}"><li><span>${itm.gradeName }（${itm.clazz }）班</span> ${itm.name }</li></a>
				</c:forEach>
			</ul>
		</div>
	</div>
</body>
<script type="text/javascript">
	$(function() {
		var list = $(".xzbj-list a");
		if(list.length == 1) {
			window.location.href = list[0].href + "&v=" + (new Date().getTime());
		}
	})
</script>

<jsp:include page="/WEB-INF/page/common/_footer.jsp"></jsp:include>
</html>